package com.zktr.pojo;

public class Comment {
	private int commentid;
	private int goodsid;
	private String username;
	private String content;
	private int commentrank;
	private int addtime;
	private int userid;
	public int getcommentid() {
		return commentid;
	}
	public void setcommentid(int commentid) {
		this.commentid = commentid;
	}
	public int getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getCommentrank() {
		return commentrank;
	}
	public void setCommentrank(int commentrank) {
		this.commentrank = commentrank;
	}
	public int getAddtime() {
		return addtime;
	}
	public void setAddtime(int addtime) {
		this.addtime = addtime;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	@Override
	public String toString() {
		return "Comment [commentid=" + commentid + ", goodsid=" + goodsid + ", username=" + username + ", content="
				+ content + ", commentrank=" + commentrank + ", addtime=" + addtime + ", userid=" + userid + "]";
	}
	public Comment(int commentid, int goodsid, String username, String content, int commentrank, int addtime,
			int userid) {
		this.commentid = commentid;
		this.goodsid = goodsid;
		this.username = username;
		this.content = content;
		this.commentrank = commentrank;
		this.addtime = addtime;
		this.userid = userid;
	}
	public Comment() {
	}
	
}
